package com.scores.pojo;

import lombok.AllArgsConstructor;
import lombok.Data;
import lombok.NoArgsConstructor;
import lombok.ToString;

import java.io.Serializable;

@Data
@NoArgsConstructor
@AllArgsConstructor
@ToString
public class Teacher implements Serializable {
    private static final long serialVersionUID = 1L;
    private Integer id;
    private String teacherName;
    private Integer teacherAge;
    private String teacherSex;
    private String teacherPass;
    private Integer teacherDel;


    public Teacher(Integer id, String teacherName, Integer teacherAge, String teacherSex, String teacherPass) {
        this.id = id;
        this.teacherName = teacherName;
        this.teacherAge = teacherAge;
        this.teacherSex = teacherSex;
        this.teacherPass = teacherPass;
    }

    public Teacher(String teacherName, String teacherPass) {
        this.teacherName = teacherName;
        this.teacherPass = teacherPass;
    }

    public Teacher(String teacherName, Integer teacherAge, String teacherSex, String teacherPass) {
        this.teacherName = teacherName;
        this.teacherAge = teacherAge;
        this.teacherSex = teacherSex;
        this.teacherPass = teacherPass;
    }

    public Teacher(String teacherName, Integer teacherAge, String teacherSex, String teacherPass, Integer teacherDel) {
        this.teacherName = teacherName;
        this.teacherAge = teacherAge;
        this.teacherSex = teacherSex;
        this.teacherPass = teacherPass;
        this.teacherDel = teacherDel;
    }
}
